<?php
namespace App\Http\Controllers\before;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;

class DingDanController  extends Controller
{
    public function index(){
        $goods = $_REQUEST['id'];
        $sql = DB::table('goods')->where('goods_no',$goods)->get();
        return view('dingdan.index',['sql'=> $sql]);
    }
}